package com.aizuda.boot.modules.business.approval.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 任务中心查询请求DTO
 */
@Data
@Schema(description = "任务中心查询请求参数")
public class TaskCenterQueryDTO {

    @Schema(description = "当前页", example = "1")
    private Long current = 1L;

    @Schema(description = "每页大小", example = "10")
    private Long size = 10L;

    @Schema(description = "关键词搜索（可匹配合同名称或申请人姓名）", example = "采购合同")
    private String keyword;

    @Schema(description = "排序方式", example = "DESC", allowableValues = {"ASC", "DESC"})
    private String sortOrder = "DESC";
} 